import {
  createRouter,
  createWebHashHistory
} from "vue-router";
import staticRoutes from './static-routes'
import {ref} from "vue";
import {setRouteEmitter} from "@/router/route-listener.ts";


/**
 * 创建路由实例
 */
const router = createRouter({
  history: createWebHashHistory("/"),
  routes: [...staticRoutes],
})


export default router;
